package com.czxy.candidates.feign;

import com.czxy.domain.TbOccupation;
import com.czxy.domain.TbUser;
import com.czxy.findjob.vo.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "user-service",path = "/user")
public interface UserFeign {
    @GetMapping("/findByCandidateId/{id}")
    public BaseResult<TbUser> findByCandidateId(@PathVariable("id") Integer id);
}
